FROM registry.cn-shenzhen.aliyuncs.com/xielincai/devops:python3.11

#
WORKDIR /starbucket

#
COPY ./requirements.txt /starbucket/requirements.txt

#
RUN pip install --no-cache-dir --upgrade -r /starbucket/requirements.txt

#
COPY . /starbucket

#
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]